@charset "utf-8";


@import "quote/class.less";
@import "quote/color.less";

body{
  background-color:@cf2;
}
.container{padding-top:.6rem}
  //点击留言
  #mes-input{
    padding-bottom: 45px;
    .mes-item{
      position: fixed;
      width:100%;
      top:50px;
      background-color: @cf;
      border-bottom: 1px solid @ceb;
      line-height: 45px;
      color:@cc;
      padding:0 1rem;
      z-index:8;
      span{vertical-align: middle;}
    }
  }

  //列表容器
  .item-list{
    position: relative;
    min-height:12rem;
    margin-bottom: .5rem;
    border-bottom: 1px solid @ceb;
    padding:1rem;
    background-color:@cf;
    .item-mes{
      position: relative;
      padding:.1rem 0;
      margin-left:3.8rem;
    }
    .item-text{
      text-align: center;
      margin: 0 auto;
      padding:2rem;
    }
  }

/*==============留言写入模块===================*/

#writing{
  position:fixed;
  z-index: 12;
  top:0;
  left:100%;
  width:100%;
  height:100%;
  background-color: @cf9;
  transform: translateX(0%);
  transition:transform .3s;

  //标题内容
  .writ-context{
    background-color:#9B9CB3;
    ::-webkit-input-placeholder{color:@cf2;font-size: 1rem;}
    input[name="writTit"]{
      height:3.5rem;
      width:100%;
      border: none;
      border-bottom:1px dashed @cc;
      background-color: transparent;
      text-align: center;
      color:@cf2;
    }
    //内容父级
    .pr-text{
      position: relative;
      padding:1.5rem 4rem;
      min-height: 15rem;
      text-align: center;
      letter-spacing: 1px;
      //内容
      .writ-text{
        position: relative;
        text-align: center;
        width: 100%;
        color:@cf;
        z-index: 2;
        line-height: 2rem;
        background: transparent;
      }
    }

  }
  //图片选择
  .sel-img{
    width:85%;
    margin:0rem auto;
    .list-img{
      position: relative;
      width:4rem;
      height:4rem;
      img{
        position: absolute;
        top:0px;
        left:0px;
        width:4rem;
        border-radius: 2rem;
      }
      //选择按钮
      .select-img{
        display: none;
        position: absolute;
        width:16px;
        height:16px;
        border-radius:16px;
        border: 2px solid @cf;
        background-color:@a;
        z-index: 2;
        margin:-1px 0 0 -1px;
        //内部对勾
        .select-yes{
          width:8px;
          height:4px;
          border: 1px solid @cf;
          border-bottom-color: transparent;
          border-left-color:transparent;
          transform: rotateZ(130deg);
          margin-left: 3px;
          margin-top: 3px;
        }
      }
    }
  }

  //头像选择
  .sub-cancel{
    padding: .5rem 1rem;
    background-color:@cf;
    color:@c6;
    label{
      display: inline-block;
      vertical-align: middle;
    }
    #filePath{
      display: inline-block;
      border: none;
      width: 60%;
      margin-left: 0.5rem;
      vertical-align: middle;
      /* overflow: hidden; */
      /* text-overflow: ellipsis; */
      /* white-space: nowrap; */
    }
  }

}


/*==============图片剪裁模块===================*/
#clip-img{
  display: none;
  position:fixed;
  z-index: 12;
  top:0px;
  left:0%;
  width:100%;
  height:100%;
  background-color: @cf2;
  overflow: hidden;

  //中间方块
  .clip-main{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    width:20rem;
    height:20rem;
    border:300px solid @c3;
    opacity: 0.9;
  }
  //图片
  .clip-head{
    display: block;
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
  }
  //提交
  .clip-sub{
    position: absolute;
    height:4rem;
    width:100%;
    top:100%;
    transform: translateY(-100%);
    text-align: center;
    z-index:20;
    background-color: @c10;
    .clip-button{
      height:2.5rem;
      width:6rem;
      line-height: 2.5rem;
      background-color: @a;
      color: @cf;
      border-radius: 5px;
      float: right;
      margin-top:.8rem ;
      margin-right: 0.5rem;
    }
  }
}

/*==============进度===================*/

#pro-main{
  display: none;
  position:fixed;
  z-index: 13;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  border-radius: 6px;
  width:15rem;
  height:4rem;
  background-color: rgba(0,0,0,0.6);
  text-align: center;
  progress{
    width:80%;
    margin-top: 0.8rem;
  }
  .pro-info{
    margin-top: .2rem;
    color:@cf;
  }
}















